<ion-header>
  <ion-navbar>
    <ion-title>矿石记录</ion-title>
    <ion-buttons end>
      <button ion-button icon-only [navPush]="'ExtractPage'">
        提炼
      </button>
    </ion-buttons>
  </ion-navbar>
</ion-header>


<ion-content padding>
  <ion-list class="item-list" *ngIf="oreRecord.voList?.length > 0">
    <ion-item-divider><span class="color-gray-light">矿石产生记录</span></ion-item-divider>
    <ion-item *ngFor="let item of oreRecord.voList">
      <h2 class="color-orange pl">{{item.ore || 0}}</h2>
      <ion-note item-end class="font-smallest">{{item.createTime | date:'yyyy-MM-dd HH:mm:SS'}}</ion-note>
    </ion-item>
  </ion-list>
  <div class="text-center no-data" *ngIf="oreRecord.voList?.length === 0">暂无数据</div>

  <ion-infinite-scroll (ionInfinite)="doInfinite($event)">
    <ion-infinite-scroll-content loadingSpinner="bubbles"></ion-infinite-scroll-content>
  </ion-infinite-scroll>
</ion-content>
